package day02;

//变量的使用
public class Demo02 {
    public static void main(String[] args) {
        int a;
        a = 1314;
        //变量在 使用之前必须要先赋值,否则会发生编译错误
        System.out.println(a);//1314

        int b=123,c=234,d=345,e = 2;
        System.out.println(c);//234

//        int i = b+c;
//        System.out.println(i);//357
//
//        int p = 234 * e;
//        System.out.println(p);//468
//
//        int o = c-d;
//        System.out.println(o);
//
//        int y = c / e;
//        System.out.println(y);

//        c = b + c;
        c += b;
        System.out.println("c = "+c);//357

        b = b + 1;
        b += 1;

        c = c * 2;
        c *= 2;

        c -= 3;

        e /= 4;






    }
}
